package com.itwill.ecom;



import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository	
public class HomeDao {
	@Autowired private SqlSession sql;
	public List<HomeBeans> mainLeftSelect(){	
		return sql.selectList("home.mainLeftSelect");
	}
	public List<HomeBeans> mainRightSelect(){	
		return sql.selectList("home.mainRightSelect");
	}
	public List<HomeBeans> subSelect(){	
		return sql.selectList("home.subSelect");
	}
	public List<HomeBeans> etcSelect(){	
		return sql.selectList("home.etcSelect");
	}
}
